package org.jetnuke.dao;

import java.util.List;

import org.jetnuke.entities.Reviews;

/**
 * @author <a href="ginger547@gmail.com">ginger547</a>
 * @version 2.0
 * @since 2.0
 */
public interface ReviewsDAO {
	public Reviews retrieveByPK(int id) throws Exception;

	public List selectAll() throws Exception;

	public List selectOrderIDDesc(int limit) throws Exception;

	public int addNew(Reviews rv) throws Exception;

	public List searchOrderDateDesc(String query) throws Exception;

	public List selectOrderHitsDesc(int limit) throws Exception;

	public List selectOrderDateDesc(int limit) throws Exception;

	public void update(Reviews rv) throws Exception;

	public void deleteByPK(int id) throws Exception;

	public void incHits(Reviews rv) throws Exception;
}
